package com.qingcloud.adminbackend.entity.app;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@ToString
@Accessors(chain = true)
@TableName("web_pub_page_variable")
public class WebPubPageVariable extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @TableId(type = IdType.INPUT)
    @ApiModelProperty(value = "主键", hidden = true)
    private Integer id;

    @ApiModelProperty("应用ID")
    private Integer appId;

    @ApiModelProperty("页面ID")
    private Integer pageId;

    @ApiModelProperty("类别 1-dom变量 2-全局变量")
    private Integer type;

    @ApiModelProperty("变量")
    private String vars;

}
